Manage local users using the cli.
Only users with the role SecurityAdmin or SystemAdmin can perform this task.
efa auth user add --userName user1 --emailID user1@test.com --roles SystemAdmin Password: **** Successfully added the user configuration
efa login --username user1 Password: **** Please reset the password New password: **** Confirm password: **** The user password was reset successfully. Please log in again.
Example: efa auth user update --userName=user1 --roles NetworkOperator Successfully updated the user configuration. +----------+-----------------+------------+----------------+---------------+--------------+ | Username | Roles | Is Blocked | Email ID | Mobile Number | Organization | +----------+-----------------+------------+----------------+---------------+--------------+ | user1 | NetworkOperator | false | user1@test.com | | | +----------+-----------------+------------+----------------+---------------+--------------+
efa auth user block-unblock --userName=user1 --isBlock=true Successfully updated the user state. +----------+-----------+ | UserName | IsBlocked | +----------+-----------+ | user1 | true | +----------+-----------+
efa auth user block-unblock --userName=user1 --isBlock=false Successfully updated the user state. +----------+-----------+ | UserName | IsBlocked | +----------+-----------+ | user1 | false | +----------+-----------+
efa auth user change-password Old password: **** New password: **** The password was changed successfully
efa auth user reset-password --userName user1 --emailID user1@test.com Password: Successfully updated the user configuration
efa auth user show +----------+-----------------+------------+-------------------+---------------+--------------+ | Username | Roles | Is Blocked | Email ID | Mobile Number | Organization | +----------+-----------------+------------+-------------------+---------------+--------------+ | testabc | SystemAdmin | false | testabc@test.com | | | +----------+-----------------+------------+-------------------+---------------+--------------+ | user1 | NetworkOperator | false | user1@test.com | | | +----------+-----------------+------------+-------------------+---------------+--------------+
efa auth user delete --userName=user1 Deleted User configuration successfully.